/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"E5E956EE-C593-4220-816F-82897AF55B91"}
 */
function ejecutar(event) {
	globals.autosaveoff()
	
	var n=databaseManager.getFoundSetCount(foundset)
	application.output(n)
	for (var i = 1 ; i <= n ; i++)
	{
		controller.setSelectedIndex(i)
		if (proveedor_id <= 800)
		{
			es_fletero=1
		}
		else
		{
			es_fletero=0
		}
	}
	databaseManager.saveData()
}
